
**set memory 100m
set matsize 800
set more off



insheet using allwt_CARTimputes_dshk99.csv, comma,
save allwt_CARTimputes_dshk99, replace 

*** Create duplicate datasets for industries for which we did not create imputations
expand 500 if _impute_==.

sort ppn year
by ppn year: replace _impute_ = _n if _impute_ == .


save allwt_CART_full_d99, replace



